home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / MacQForth 1.0 / documentation / Lessons / LESSON 5 < prev   
Encoding:
Text File  |  1995-03-24  |  3.3 KB  |  63 lines  |  [TEXT/ALFA]

  1.  
  2. LESSON 5                   "Beyond MacQForth"
  3. --------------------------------------------------------------------------------
  4.  
  5.    Contents of this lesson:
  6.    
  7.                1.  Known bugs in MacQForth
  8.                2.  What's not here that should be
  9.                3.  Now what?
  10.                
  11. ================================================================================
  12.  
  13.    The grim truth revealed, bugs *do* exist in MacQForth.  Also, some of 
  14.    what is "missing" in QForth and what to do now that you know something 
  15.    about the language.
  16.    
  17.    
  18.    
  19. Known bugs in MacQForth
  20. -----------------------
  21.  
  22.    All real programs have real bugs, only "quiche-eater" programs are
  23.    completely bug free.  Here's a list of the known MacQForth bugs:
  24.    
  25.    
  26.      *  "if ... then" must be "if ... else then" to work
  27.      
  28.      *  "r@" doesn't work, use "R@" as defined in EXTEND.4TH
  29.      
  30.      *  the first line of a "read" file is ignored, so leave it blank
  31.         or make it a comment
  32.         
  33.      *  words added to the dictionary cannot be referenced on the line
  34.         on which they are defined:
  35.         
  36.            : hi ." hola" ;  hi    ( defines hi but does not execute it )
  37.            variable one  0 one !  ( causes an error and one is not defined )
  38.            create one  one c@     ( same as 'variable' )
  39.            
  40.      *  desk accessories do not run in MacQForth
  41.      
  42.      
  43.      
  44.  
  45. What's not here that should be
  46. ------------------------------
  47.  
  48.    A lot.  QForth is a minimal Forth, useful but lacking much.  A useful 
  49.    extension to QForth would be hexadecimal mode.  What is really lacking 
  50.    is what is known as the "pearl of Forth", the ability to extend the 
  51.    compiler itself through CREATE and DOES> .  This ability would have 
  52.    made the matrix exercise far less of a trial.  Also missing is the 
  53.    entire realm of immediate words and state smart words.  I will not 
  54.    make any attempt to address these topics, refer to the supplied 
  55.    references for more information.
  56.    
  57.    
  58.    
  59.    
  60. Now what?
  61. ---------
  62.  
  63.    If you